Welcome Guest | Sign in | Register
Java Basics - Java Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com

Home > Technical Interviews > Computer Science & Engineering > Java Programming > Java Basics Questions and Answers

81. Can a .java file contain more than one java classes?

Yes. A .java file contain more than one java classes, provided at the most one of them is a public class.

82. Is String a primitive data type in Java?

No. String is not a primitive data type in Java, even though it is one of the most extensively used object. Strings in Java are instances of String class defined in java.lang package.

83. Is main a keyword in Java?

No. main is not a keyword in Java.

84. Is next a keyword in Java?

No. next is not a keyword.

85. Is delete a keyword in Java?

No. delete is not a keyword in Java. Java does not make use of explicit destructors the way C++ does.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.